<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <title>真人娱乐</title>
    <script src="__JS__/jquery-1.6.2.min.js" ></script>
</head>
<body>
<div class="iframetop">
    <iframe src="" name="top" height="100%" width="100%" frameborder="no" border="0"   marginwidth="0" marginheight="0" allowtransparency="yes" scrolling="yes"></iframe>
</div>
</body>

</html>
<script>
    function isWeiXin(){
        var ua = window.navigator.userAgent.toLowerCase();
        if(ua.match(/MicroMessenger/i) == 'micromessenger'){
            return true;
        }else{
            return false;
        }
    }
    window.onload = function(){
        if(isWeiXin()){
          document.body.innerHTML = '<img id ="tupian" src="__IMG__/go_to_game.png">';
          document.getElementById("tupian").style.width = document.body.clientWidth   + 'px';
        }else{
            window.location.href="<?=$url?>";
        }
    }
</script>